<%@ page language="java" import="java.util.*" pageEncoding="Utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>订单详情</title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/common/style/qdh.css" type="text/css" media="screen" />
<script type="text/javascript" src="${pageContext.request.contextPath}/common/js/jquery-1.7.2.min.js"></script>
<style>
#info{
float:right;
border:1px solid #ddd;
}
</style>
</head>
<body>
<div id="wrap">
	<s:include value="header.jsp"/>	
	<div id="container">
		<div class="mt10 cartbox">
			<div class="mt10 ordertitle">房间信息</div>
			<div class="mt10 carttable">
			<div id="info"><img width="138" height="103" onmouseover="toolTip('<img src=${pageContext.request.contextPath}/${hotelOrder.picUrl}>')" onmouseout="toolTip()" src="${pageContext.request.contextPath}/${hotelOrder.picUrl}"/></div>
				<ul>
					<li><span>您预订的房间：：</span>${hotelOrder.roomName}</li>
					<li><span>入住日期：</span><s:date name="hotelOrder.checkinTime" format="yyyy-MM-dd"/></li>
					<li><span>离店日期：</span><s:date name="hotelOrder.checkoutTime" format="yyyy-MM-dd"/></li>
					<li><span>预订数量：</span>${hotelOrder.totalNum}间</li>	
					<li><span>总金额：</span><strong>¥${hotelOrder.totalMoney}</strong>元</li>
				</ul>
			</div>
			<div class="mt10 ordertitle">订单信息</div>
			<div class="mt10 carttable">
				<ul>
					<li><span>订单号：</span>${hotelOrder.code}</li>
					<li><span>下单时间：</span><s:date name="hotelOrder.orderTime" format="yyyy-MM-dd HH:mm:ss"/></li>
					<li><span>预订人姓名：</span>${hotelOrder.customerName}</li>
					<li><span>预订人手机：</span>${hotelOrder.phone}</li>
				</ul>
			</div>
			<div class="ordersubmitbox">
			<s:if test="hotelOrder.verify==1&&hotelOrder.tradeStatus==1">
			<a href="toPay.action?id=${hotelOrder.id}" title="马上付款" ><img src="${pageContext.request.contextPath}/common/image/paynow.jpg" alt="马上付款"/></a>		
			</s:if>
			<a href="${pageContext.request.contextPath}/view/member/index.action" title="返回用户中心" class="ml10"><img src="${pageContext.request.contextPath}/common/image/backbtn.jpg" alt="返回用户中心"/></a></div>
		</div>
		<div class="clr"></div>
	</div>
	<s:include value="../footer.htm"/>
	<script src="${pageContext.request.contextPath}/common/js/ToolTip.js" type="text/javascript"></script>
</div>
</body>
</html>
